package com.moli.iov.down.model.po.extend;

import java.io.Serializable;
import lombok.Data;

/**
 * <p>
 * 域名或IP、端口修改
 * </p>
 *
 * @author zql
 * @since 2019/9/17 9:43
 */
@Data
public class IpAndPortExtend implements Serializable {

  public IpAndPortExtend(String oldIP, Integer oldPort) {
    this.oldIP = oldIP;
    this.oldPort = oldPort;
  }

  public IpAndPortExtend(String oldIP, String ip, Integer oldPort, Integer port) {
    this.oldIP = oldIP;
    this.ip = ip;
    this.oldPort = oldPort;
    this.port = port;
  }

  public IpAndPortExtend() {
  }

  /**
   * 原ip
   */
  private String oldIP;

  /**
   * 现ip
   */
  private String ip;

  /**
   * 原端口
   */
  private Integer oldPort;

  /**
   * 现在端口
   */
  private Integer port;

}
